PATH  Mac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services

   

UpdateIconRef

Forces an update of IconRef data.

pascal OSErr UpdateIconRef(IconRef iconRef);

iconRef
A pointer to a value of type IconRef to be updated.

function result
A result code. See Icon Services Result Codes for a description of possible return values.
DISCUSSION
This function is useful after you have changed a file or folder's custom icon, for example. Don't call the UpdateIconRef function if you have not already obtained an IconRef for a particular icon; call the function GetIconRefFromFile instead.


© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)